package com.nf;

public class Girl {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public void 吃饭(){
        System.out.println("吃饭");
    }
    public void 睡觉(){
        System.out.println("bean指定初始化时 睡觉");
    }
    public void 回家(){
        System.out.println("关闭时 回家");
    }
}
